﻿/**
 * @author:稀饭
 * @time:上午12:44:01
 * @filename:ConnectionWork.java
 */
package data;

public class Data {

	/*下载方式选择*/
	public static boolean select = true;
	
	/*教程信息，分别为 ：url,名字 ,视频课时个数*/
	public static String[] courseInfo = {
		"http://www.jikexueyuan.com/course/2676.html,索引的基础操作,3"
	};
	
	/*課程信息頁面鏈接*/
	public static String course = "http://www.jikexueyuan.com/course/j2ee/?pageNum=";
	
	/*总共几页*/
	public static int maxNum = 6;
	
	/*存放视频的地址，可修改，但是路径必须模仿*/
	public static String videPath = "H:/video/jike/";
	
	/*下載鏈接*/
	public static String videoDownload = "http://www.jikexueyuan.com/course/video_download?seq=NUM&course_id=ID";
	
	/*账号(这是个vip账户，如果过期了就得改了)*/
	public static String username = "18898602235";
	
	/*密码*/
	public static String password = "8560025";
	
	/*各种参数*/
	public static String ssologin = "http://passport.jikexueyuan.com/sso/login";
	public static String submit = "http://passport.jikexueyuan.com/submit/login?is_ajax=1&client=www";
	public static String[] requestProperties = {
			"Host: passport.jikexueyuan.com",
			"Connection: keep-alive",
			"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
			"Upgrade-Insecure-Requests: 1",
			"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
			"Referer: http://www.jikexueyuan.com/"
	};
	public static String[] requestProperties2 = {
		"Accept: application/json, text/javascript, */*; q=0.01",
		"Accept-Encoding: gzip, deflate, sdch",
		"Accept-Language: zh-CN,zh;q=0.8",
		"Connection: keep-alive",
		"Cookie: yxadclose=ever-close; kbtipclose=1; stat_uuid=1468122840940370340233; gr_user_id=23258151-e1c0-45ea-b260-118bfdbd2840; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22155d2f36cfb177-07ed5294f-4349052c-100200-155d2f36cfc690%22%7D; sso_closebindpop=bindphone; abtest=0; sso_ohterlogin=qq; connect.sid=s%3A8pJCb5zfn1bp9b5q-zzCVOsbHUyVqvUo.BI4VskjwJYg7EMqS7DYomUczRPbaumdNfx0z1d0Ht78; BAIDU_SSP_lcr=http://www.so.com/link?url=http%3A%2F%2Fwww.jikexueyuan.com%2F&q=%E6%9E%81%E5%AE%A2%E5%AD%A6%E9%99%A2&ts=1472654702&t=43b63eebf2effc276b32f4b75391f2d&src=haosou; stat_fromWebUrl=; stat_ssid=1473180643251; ohterlogin=qq; looyu_id=33d5e0fa932dd3a37d4d5dce810970cdc8_20001269%3A29; undefined=; _gat=1; stat_isNew=0; uname=rice; uid=3510943; code=ZN43IQ; authcode=ab07RgtTPDODXEnFu%2BOs5HBp%2FtuKNN1LgpNmb4i%2FlHBt%2BaKjl8XiIr8jMFJP253yFPyS%2BbdiRotNZn12uABzWb8aZWB6CbQSHKylI7Vd%2BElxEdyL9Wo47Q; avatar=http%3A%2F%2Fassets.jikexueyuan.com%2Fuser%2Favtar%2F3510943.jpeg; ca_status=1; vip_status=1; level_id=3; is_expire=0; domain=0yjgkaXqj; Hm_lvt_f3c68d41bda15331608595c98e9c3915=1472652874,1472654559,1472654735,1472654803; Hm_lpvt_f3c68d41bda15331608595c98e9c3915=1472662092; _ga=GA1.2.945574615.1468122961; gr_session_id_aacd01fff9535e79=22b93e9b-20b7-42a5-8570-fe7e8719d726; gr_cs1_22b93e9b-20b7-42a5-8570-fe7e8719d726=uid%3A3510943; QINGCLOUDELB=7e36c8b37b8339126ed93010ae808701d562b81daa2a899c46d3a1e304c7eb2b|V8cLQ|V8cLL; _99_mon=%5B0%2C0%2C0%5D; looyu_20001269=v%3A12a3aae963ccfdb552b05fbbe522c5237e%2Cref%3A%2Cr%3A%2Cmon%3Ahttp%3A//m9104.talk99.cn/monitor%2Cp0%3Ahttp%253A//www.jikexueyuan.com/",
		"Host: www.jikexueyuan.com",
		"Referer: http://www.jikexueyuan.com/course/665_3.html?ss=1",
		"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
		"X-Requested-With: XMLHttpRequest"};
	public static String[] requestProperties3 = {
		"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
				"Accept-Encoding: gzip, deflate, sdch",
				"Accept-Language: zh-CN,zh;q=0.8",
				"Cache-Control: max-age=0",
				"Connection: keep-alive",
				"Host: www.jikexueyuan.com",
				"Referer: http://www.jikexueyuan.com/course/665_3.html?ss=1",
				"Upgrade-Insecure-Requests: 1",
				"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
	};
}
